//
//  HSYJSONModel.h
//  高仿暴走斗图
//
//  Created by huangsongyao on 16/3/14.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//
/*
 
 JSONModel结构总结:
            1.JSONModel结构中有通用的string、number等类型;
            2.JSONModel结构中有通用的字典类型，具体构造如下;
            3.JSONModel结构中有通用的数据组类型，具体构造如下;
 */

#import <JSONModel/JSONModel.h>

@interface DICJSONModel : JSONModel

@property (nonatomic, strong) NSString<Optional> *userId;
@property (nonatomic, strong) NSString<Optional> *icon;

@end

@interface ARRJSONModel : JSONModel

@property (nonatomic, strong) NSNumber<Optional> *timestamp;
@end

@protocol DICJSONModel;
@protocol ARRJSONModel;
@interface HSYJSONModel : JSONModel

@property (nonatomic, strong) NSString<Optional> *code;
@property (nonatomic, strong) NSString<Optional> *msg;
@property (nonatomic, strong) NSNumber<Optional> *time;

@property (nonatomic, strong) DICJSONModel<Optional> *datmessagea;
@property (nonatomic, strong) NSMutableArray<Optional,ARRJSONModel> *datas;

+ (instancetype)news;
@end
